import { get, post } from "../index.js";

// 获取语言
export const language = (params) => {
  return get("/translation/language", params);
};

// 翻译
export const translation = (params) => {
  return get("/translation", params);
};
